Motion.SetAxisDigitalOutput method
Sets a bool value to an output indicated by the index.
Namespace: IntervalZero.KINGSTAR.Local.Api
Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0
Syntax
public KsCommandStatus SetAxisDigitalOutput(
int Index,
int OutputNumber,
bool Value,
McExecutionMode ExecutionMode
)
Public Function SetAxisDigitalOutput(
Index As Integer,
OutputNumber As Integer,
Value As Boolean,
ExecutionMode As McExecutionMode
) As KsCommandStatus
Parameters
Index [in]
Type: int
The index of an output signal source (axis). Indexes are zero based. Aliases affect this parameter.
OutputNumber [in]
Type: int
Selects an output. The range is 0-31.
Value [in]
Type: bool
The value of the selected output.
ExecutionMode [in]
Type: McExecutionMode
Defines the chronological sequence of a method.
Return value
Type: KsCommandStatus
Returns the KsCommandStatus class.
Examples
N/A
See also